Optimal. Leaf size=30 \[ \frac{a x^{m+1}}{m+1}+\frac{b x^{3 (m+1)}}{3 (m+1)} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0263151, antiderivative size = 30, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.067 \[ \frac{a x^{m+1}}{m+1}+\frac{b x^{3 (m+1)}}{3 (m+1)} \]
Antiderivative was successfully verified.
[In] Int[x^m*(a + b*x^(2 + 2*m)),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 4.55048, size = 22, normalized size = 0.73 \[ \frac{a x^{m + 1}}{m + 1} + \frac{b x^{3 m + 3}}{3 \left (m + 1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x**m*(a+b*x**(2+2*m)),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.01554, size = 26, normalized size = 0.87 \[ \frac{3 a x^{m+1}+b x^{3 m+3}}{3 m+3} \]
Antiderivative was successfully verified.
[In] Integrate[x^m*(a + b*x^(2 + 2*m)),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.025, size = 33, normalized size = 1.1 \[{\frac{ax{{\rm e}^{m\ln \left ( x \right ) }}}{1+m}}+{\frac{b{x}^{3} \left ({{\rm e}^{m\ln \left ( x \right ) }} \right ) ^{3}}{3+3\,m}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x^m*(a+b*x^(2+2*m)),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^(2*m + 2) + a)*x^m,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.231383, size = 34, normalized size = 1.13 \[ \frac{b x^{3} x^{3 \, m} + 3 \, a x x^{m}}{3 \,{\left (m + 1\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^(2*m + 2) + a)*x^m,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 40.6921, size = 36, normalized size = 1.2 \[ \begin{cases} \frac{3 a x x^{m}}{3 m + 3} + \frac{b x^{3} x^{3 m}}{3 m + 3} & \text{for}\: m \neq -1 \\\left (a + b\right ) \log{\left (x \right )} & \text{otherwise} \end{cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x**m*(a+b*x**(2+2*m)),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.217384, size = 38, normalized size = 1.27 \[ \frac{b x^{3} e^{\left (3 \, m{\rm ln}\left (x\right )\right )} + 3 \, a x e^{\left (m{\rm ln}\left (x\right )\right )}}{3 \,{\left (m + 1\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^(2*m + 2) + a)*x^m,x, algorithm="giac")
[Out]